package com.typingtutor.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RandomRule extends BaseConfiguration {
    private String id;
    private String randomRange;
    private String operatorStr;
    private String mathField;
    private boolean defaultEnabled;
    private String folderId;
    public RandomRule(String id, String randomRange, String operatorStr, String mathField, boolean defaultEnabled) {
        this.id = id;
        this.randomRange = randomRange;
        this.operatorStr = operatorStr;
        this.mathField = mathField;
        this.defaultEnabled = defaultEnabled;
    }
}
